package com.example.smartcity.Service;

import com.example.smartcity.Entity.Comment;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

public interface NewsCommentService {
    int findNewsIdByTitle(String title);
    void putCommentToDB(int textid,int userid,String comment);
    String findCommentByNewsId(int newsid);
    String findCommentByVideoId(int videoid);
    void putVideoCommentToDB(int videoid,int userid,String comment);

}
